package org.reenscape.updater;
import org.reenscape.model.*;
import org.reenscape.*;
import org.reenscape.packet.*;
/**
* Opens a shop by NPC ID.
* @author Jim
* @version 1.0
* @date July 11th, 2007
*/
public class ShopShow{

			/**
			* Opens shop through NPC ID switch.
			*/
			public static void open(int id, PacketParser p3){
				int k = -1;
				switch(id){
					case 522:	k=1;	break;	case 523:	k=1;	break;	case 553:	k=2;	break;
					case 526:	k=3;	break;	case 527:	k=3;	break;	case 577:	k=4;	break;
					case 580:	k=5;	break;	case 538:	k=6;	break;	case 546:	k=7;	break;
					case 548:	k=8;	break;	case 551:	k=9;	break;	case 552:	k=9;	break;
					case 549:	k=10;	break;	case 550:	k=11;	break;	case 584:	k=12;	break;
					case 581:	k=13;	break;	case 585:	k=14;	break;	case 530:	k=15;	break;
					case 531:	k=15;	break;	case 1860:	k=16;	break;	case 557:	k=17;	break;
					case 558:	k=18;	break;	case 559:	k=19;	break;	case 556:	k=20;	break;
					case 583:	k=21;	break;	case 520:	k=22;	break;	case 521:	k=22;	break;
					case 519:	k=23;	break;	case 541:	k=24;	break;	case 545:	k=25;	break;
					case 524:	k=26;	break;	case 525:	k=26;	break;	case 542:	k=27;	break;
					case 544:	k=28;	break;	case 903:	k=29;	break;	case 562:	k=30;	break;
					case 594:	k=31;	break;	case 579:	k=32;	break;	case 537:	k=33;	break;
					case 536:	k=34;	break;	case 591:	k=35;	break;	case 572:	k=36;	break;
					case 589:	k=37;	break;	case 797:	k=38;	break;	case 932:	k=39;	break;
					case 933:	k=40;	break;	case 1039:	k=41;	break;	case 532:	k=42;	break;
					case 533:	k=42;	break;	case 568:	k=43;	break;	case 1658:	k=44;	break;
					case 461:	k=45;	break;	case 3163:	k=46;	break;	case 3164:	k=47;	break;
					case 3166:	k=48;	break;	case 3161:	k=49;	break;	case 3162:	k=50;	break;
					case 563:	k=51;	break;	case 534:	k=52;	break;	case 564:	k=53;	break;
					case 566:	k=54;	break;	case 2353:	k=55;	break;	case 2352:	k=56;	break;
					case 2356:	k=57;	break;	case 2357:	k=58;	break;	case 970:	k=59;	break;
					case 1778:	k=60;	break;	case 1779:	k=61;	break;	case 1780:	k=62;	break;
					case 1781:	k=63;	break;	case 1782:	k=64;	break;	case 1783:	k=65;	break;
					case 1784:	k=66;	break;	case 1785:	k=67;	break;	case 1786:	k=68;	break;
					case 1787:	k=69;	break;	case 2258:	k=70;	break;	case 528:	k=71;	break;
					case 529:	k=71;	break;	case 540:	k=72;	break;
				}				
				if(k == -1) return;
				p3.openUpShop(k);
			}
}